package cn.yanghan;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

//课程服务
@SpringBootApplication
@EnableEurekaClient
@MapperScan("cn.yanghan.mapper")
@EnableCaching //启用spring caceh缓存
@EnableScheduling //开启定时任务
@EnableAsync //开启异步
public class KillStart7010 {
    public static void main(String[] args) {
        SpringApplication.run(KillStart7010.class,args);
    }
}
